package com.example.lenovo.helloworld;

import android.os.Bundle;

/**
 * Created by Lenovo on 2018/10/9.
 */
public class BaseActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        log.d("BaseActivity", getClass().getSimpleName());
        ActivityCollector.addActivity(this);
    }
    @Override
    protected void onDestroy(){}
    super.onDestroy();
    ActivityCollector.removeActivity(this);
}
